home *** CD-ROM | disk | FTP | other *** search
- RPDump.bas - How to dump a RastPort to the printer
- ==================================================
-
- Derived from RKM example (c) Copyright 1992 Commodore-Amiga, Inc.
-
- This is a simplified translation of the Commodore "Printing with corrected
- aspect ratio" example taken from the Devices RKM p.189. The code has been set
- up so as to provide V33 compatability, without bothering to parse the
- available densities, leaving a simple dumpRP function which can be used to
- dump any RastPort.
-
- The example shows setting up the printer IO blocks, then calling the routine
- in various ways to dump various different RastPorts.
-
- The example will work on all non-obsolete versions of Workbench (V33
- and above).
-
- Compiling
- ---------
- Load the RPDump_inc.bh file and Tokenise it (Program-Tokenise), making sure
- you have no token file selected in the File Options (Settings-Compiler-
- Files). Once you have your token file, set the File Options-Token File
- setting to the RPDump_inc.t file just created. Load the RPDump.bas file,
- compile, ensure your printer is online and you have selected a suitable
- driver from the system Printer Preferences program, then run the program.
-